package cn.qn.controller;

import cn.qn.dto.ResponseDTO;
import cn.qn.dto.news.AlbumQueryDTO;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: Jeet
 * @date: 2019.07.18
 * @description: 图片
 */
@RestController
@RequestMapping("/image")
public class ImageController {

    @Value("${aliyun.oss.showUrl}")
    private String prefix;

    @RequestMapping(value = "/prefix",method = RequestMethod.GET)
    public ResponseDTO prefix(){
        return ResponseDTO.success(prefix);
    }

}
